package com.ssy.jt808.gateway;

import com.ssy.jt808.gateway.infrastructure.gateway.VehicleInfoApi;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author wangzezhou
 */
@EnableCaching
@EnableScheduling
@EnableDiscoveryClient
@EnableFeignClients(clients={ VehicleInfoApi.class })
@SpringBootApplication
public class Main{

  public static void main(String[] args) {
        SpringApplication.run(Main.class, args);
    }

}